package com.web.java0401redis.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.web.java0401redis.entity.Student;

public interface StudentService extends IService<Student> {

    /**
     * 按id查询学生
     * @param id
     * @return
     */
    Student findStudentById(Integer id);

    Student addStudent(Student student);

    Student updateStudent(Student student);

    void deleteStudent(Integer id);
}
